package com.cleaningcloud.cld.mapper;

import java.util.List;
import com.cleaningcloud.cld.domain.CldInputDeduction;

/**
 * 进项抵扣Mapper接口
 * 
 * @author cleaningcloud
 * @date 2025-04-27
 */
public interface CldInputDeductionMapper 
{
    /**
     * 查询进项抵扣
     * 
     * @param inputDeductionId 进项抵扣主键
     * @return 进项抵扣
     */
    public CldInputDeduction selectCldInputDeductionByInputDeductionId(Long inputDeductionId);

    /**
     * 查询进项抵扣列表
     * 
     * @param cldInputDeduction 进项抵扣
     * @return 进项抵扣集合
     */
    public List<CldInputDeduction> selectCldInputDeductionList(CldInputDeduction cldInputDeduction);

    /**
     * 新增进项抵扣
     * 
     * @param cldInputDeduction 进项抵扣
     * @return 结果
     */
    public int insertCldInputDeduction(CldInputDeduction cldInputDeduction);

    /**
     * 修改进项抵扣
     * 
     * @param cldInputDeduction 进项抵扣
     * @return 结果
     */
    public int updateCldInputDeduction(CldInputDeduction cldInputDeduction);

    /**
     * 删除进项抵扣
     * 
     * @param inputDeductionId 进项抵扣主键
     * @return 结果
     */
    public int deleteCldInputDeductionByInputDeductionId(Long inputDeductionId);

    /**
     * 批量删除进项抵扣
     * 
     * @param inputDeductionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCldInputDeductionByInputDeductionIds(Long[] inputDeductionIds);
}
